home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clagtm.z / clagtm
Encoding:
Text File  |  2002-10-03  |  4.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAAGGGGTTTTMMMM((((3333SSSS))))                                                          CCCCLLLLAAAAGGGGTTTTMMMM((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLAGTM - perform a matrix-vector product of the form  B := alpha * A * X
  10.      + beta * B  where A is a tridiagonal matrix of order N, B and X are N by
  11.      NRHS matrices, and alpha and beta are real scalars, each of which may be
  12.      0., 1., or -1
  13.  
  14. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  15.      SUBROUTINE CLAGTM( TRANS, N, NRHS, ALPHA, DL, D, DU, X, LDX, BETA, B, LDB
  16.                         )
  17.  
  18.          CHARACTER      TRANS
  19.  
  20.          INTEGER        LDB, LDX, N, NRHS
  21.  
  22.          REAL           ALPHA, BETA
  23.  
  24.          COMPLEX        B( LDB, * ), D( * ), DL( * ), DU( * ), X( LDX, * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      CLAGTM performs a matrix-vector product of the form B := alpha * A * X +
  41.      beta * B where A is a tridiagonal matrix of order N, B and X are N by
  42.      NRHS matrices, and alpha and beta are real scalars, each of which may be
  43.      0., 1., or -1.
  44.  
  45. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  46.      TRANS   (input) CHARACTER
  47.              Specifies the operation applied to A.  = 'N':  No transpose, B :=
  48.              alpha * A * X + beta * B
  49.              = 'T':  Transpose,    B := alpha * A**T * X + beta * B
  50.              = 'C':  Conjugate transpose, B := alpha * A**H * X + beta * B
  51.  
  52.      N       (input) INTEGER
  53.              The order of the matrix A.  N >= 0.
  54.  
  55.      NRHS    (input) INTEGER
  56.              The number of right hand sides, i.e., the number of columns of
  57.              the matrices X and B.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAAGGGGTTTTMMMM((((3333SSSS))))                                                          CCCCLLLLAAAAGGGGTTTTMMMM((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      ALPHA   (input) REAL
  75.              The scalar alpha.  ALPHA must be 0., 1., or -1.; otherwise, it is
  76.              assumed to be 0.
  77.  
  78.      DL      (input) COMPLEX array, dimension (N-1)
  79.              The (n-1) sub-diagonal elements of T.
  80.  
  81.      D       (input) COMPLEX array, dimension (N)
  82.              The diagonal elements of T.
  83.  
  84.      DU      (input) COMPLEX array, dimension (N-1)
  85.              The (n-1) super-diagonal elements of T.
  86.  
  87.      X       (input) COMPLEX array, dimension (LDX,NRHS)
  88.              The N by NRHS matrix X.  LDX     (input) INTEGER The leading
  89.              dimension of the array X.  LDX >= max(N,1).
  90.  
  91.      BETA    (input) REAL
  92.              The scalar beta.  BETA must be 0., 1., or -1.; otherwise, it is
  93.              assumed to be 1.
  94.  
  95.      B       (input/output) COMPLEX array, dimension (LDB,NRHS)
  96.              On entry, the N by NRHS matrix B.  On exit, B is overwritten by
  97.              the matrix expression B := alpha * A * X + beta * B.
  98.  
  99.      LDB     (input) INTEGER
  100.              The leading dimension of the array B.  LDB >= max(N,1).
  101.  
  102. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  103.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  104.  
  105.      This man page is available only online.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.